]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Don't use set_skip_paint
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 7 Feb 2013 08:52:25 +0000 (03:52 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 7 Feb 2013 10:43:50 +0000 (05:43 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=693303

js/ui/status/keyboard.js

index 8295c1a65834a9f0c0ea1f1a1e80cf020313bf43..3a9fc1c054d1ec211afce058a13043efd538179d 100644 (file)
@@ -429,11 +429,11 @@ const InputSourceIndicator = new Lang.Class({
 
         if (oldSource) {
             oldSource.menuItem.setShowDot(false);
-            this._container.set_skip_paint(oldSource.indicatorLabel, true);
+            oldSource.indicatorLabel.hide();
         }
 
         newSource.menuItem.setShowDot(true);
-        this._container.set_skip_paint(newSource.indicatorLabel, false);
+        newSource.indicatorLabel.show();
 
         this._buildPropSection(newSource.properties);
 
@@ -510,8 +510,8 @@ const InputSourceIndicator = new Lang.Class({
 
             this.menu.addMenuItem(is.menuItem, menuIndex++);
 
+            is.indicatorLabel.hide();
             this._container.add_actor(is.indicatorLabel);
-            this._container.set_skip_paint(is.indicatorLabel, true);
         }
 
         let sourcesList = [];